.class Lcom/waiqin365/compons/camera/m;
.super Ljava/lang/Thread;


# instance fields
.field final synthetic a:Landroid/os/Handler;

.field final synthetic b:Lcom/waiqin365/compons/camera/CameraPreviewActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;Landroid/os/Handler;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/m;->b:Lcom/waiqin365/compons/camera/CameraPreviewActivity;

    iput-object p2, p0, Lcom/waiqin365/compons/camera/m;->a:Landroid/os/Handler;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/m;->b:Lcom/waiqin365/compons/camera/CameraPreviewActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->p(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)I

    move-result v0

    const-wide/16 v2, 0x1f4

    :try_start_0
    invoke-static {v2, v3}, Lcom/waiqin365/compons/camera/m;->sleep(J)V

    iget-object v1, p0, Lcom/waiqin365/compons/camera/m;->b:Lcom/waiqin365/compons/camera/CameraPreviewActivity;

    invoke-static {v1}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->p(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)I

    move-result v1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/m;->a:Landroid/os/Handler;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto :goto_0
.end method
